package com.guigu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@TableName("tickets")
public class Tickets {
@TableId(type = IdType.AUTO)
    private int ticketId;
    private String ticketName;
    private int stadiumId;
    //@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String beginTime;
    private int totalCount;
    private int orderCount;
    private int price;
    private String descn;
}
